<?php

class Nutri_Model_User extends Nutri_Model_Abstract
{
	protected $_fullname;
	protected $_email;
	protected $_tel;
	protected $_addres;
	
	public function setFullname($value)
    {
        $this->_fullname = $value;
        return $this;
    }
 
    public function getFullname()
    {
        return $this->_fullname;
    }
 
	public function setEmail($value)
    {
        $this->_email = $value;
        return $this;
    }
 
    public function getEmail()
    {
        return $this->_email;
    }
    
	public function setTel($value)
    {
        $this->_tel = $value;
        return $this;
    }
 
    public function getTel()
    {
        return $this->_tel;
    }

    public function setAddres($value)
    {
        $this->_addres = $value;
        return $this;
    }
 
    public function getAddres()
    {
        return $this->_addres;
    }
    
	public function toArray()
    {
        return array (
            'id' => $this->getId(),
            'fullname' => $this->getFullname(),
            'email' => $this->getEmail(),
            'tel' => $this->getTel(),
            'addres' => $this->getAddres(),
        );
    }
    
 	public function getMapper()
    {
        if (null === $this->_mapper) {
            $this->setMapper('Nutri_Model_Mapper_User');
        }
        return $this->_mapper;
    }
}